package com.itheima.service;

import com.itheima.pojo.Emp;
import com.itheima.pojo.PageBody;

import java.util.List;

public interface EmployeeService {
    PageBody findAllByPage(String name, Integer gender, String begin, String end, Integer page, Integer pageSize);

    void saveEmp(Emp emp);

    Emp findEmpById(Integer id);

    void deleteByIds(List<Integer> ids);

    void updateEmpById(Emp emp);

    List<Emp> findAll();

}
